package com.goldcn.picture.dao;

import com.goldcn.picture.dto.PicLabelDto;
import com.goldcn.picture.dto.PicSpecialDto;
import com.goldcn.picture.model.PicSpecial;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.Map;

@Component
public interface PicSpecialMapper {
    int deleteByPrimaryKey(Long specialid);

    int insert(PicSpecial record);

    int insertSelective(PicSpecial record);

    PicSpecial selectByPrimaryKey(Long specialid);

    int updateByPrimaryKeySelective(PicSpecial record);

    int updateByPrimaryKey(PicSpecial record);

    int specialUseCount(Long specialid);

    List<PicSpecialDto> selectListByPictureId(Long pictureID);

    List<Map<String,String>> selectListByUserId(Long userID);

    List<Map<String,String>> selectListPicBySpecialId(Long specialid);



}
